const baseUrl = 'http://192.168.1.199:8080';
// const baseUrl = 'http://192.168.31.56:8080';
const success=(title="登录成功",icon="success")=>{
	uni.showToast({
		title:title,
		icon:icon
	})
}

const pleaseLogin=(title="请先登录")=>{
	uni.showToast({
		title:title,
		icon:'none'
	})
}

const loginout=(title="退出登录成功")=>{
	uni.showToast({
		title:title,
		icon:'none'
	})
}

const header=(title="修改成功")=>{
	uni.showToast({
		title:title,
		icon:'none'
	})
}

const singleform=(title="信息修改成功")=>{
	uni.showToast({
		title:title,
		icon:'none'
	})
}

const editPass=(title="操作成功，请重新登录",icon="success")=>{
	uni.showToast({
		title:title,
		icon:icon
	})
}

export default{
	success,
	pleaseLogin,
	loginout,
	editPass,
	header,
	baseUrl,
	singleform
}